package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;

public interface CheckGroupService {
    //检查项新增
    Result add(CheckGroup checkGroup,Integer[] checkitemIds);

    //检查项删除
    Result delete(Integer id);

    //分页检查项
    PageResult findByPage(QueryPageBean queryPageBean);

    //修改检查项
    Result update(CheckGroup checkGroup,Integer[] checkitemIds);

    //通过id查询检查项
    Result findById(Integer id);

    Result findCheckGroupOrCheckItemById(Integer id);
    //查询所有
    Result findAll();

}
